/*
package com.iweb.test;


import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;





@Controller
public class Rest {
    Logger log = Logger.getLogger(Rest.class);
    @RequestMapping(value = "jsp", method = RequestMethod.GET)
    public String toJsp() throws IOException {
        return "rest";
*/
/*
        new ModelAndView("view","attr","attrvalue")
*//*

    }
    @RequestMapping(value = "/rest", method = RequestMethod.GET)
    public void get(HttpServletResponse resp, @RequestParam Map map) throws IOException {
        PrintWriter out = resp.getWriter();
        out.print("GET" + map);
    }
    @RequestMapping(value = "/rest", method = RequestMethod.DELETE)
    public void delete(HttpServletResponse resp, @RequestParam Map map) throws IOException {
        PrintWriter out = resp.getWriter();
        out.print("DELETE" + map);
    }
    @RequestMapping(value = "/rest/{id}", method = RequestMethod.DELETE)
    public void delete(HttpServletResponse resp, @RequestParam Map map, @PathVariable int id) throws IOException {
        PrintWriter out = resp.getWriter();
        out.print("DELETE" + map + id);
    }
    @RequestMapping(value = "/rest", method = RequestMethod.PUT)
    public void put(HttpServletResponse resp, @RequestParam Map map) throws IOException {
        PrintWriter out = resp.getWriter();
        out.print("PUT" + map);
    }
    @RequestMapping(value = "/rest", method = RequestMethod.POST)
    public void post(HttpServletResponse resp, @RequestParam Map map) throws IOException {
        PrintWriter out = resp.getWriter();
        out.print("POST" + map);
    }
}
*/
